package com.haoshuang.zhouzhoubang.ui.page.order.assignment

import com.haoshuang.zhouzhoubang.databinding.ItemServiceSkillLabelBinding
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter


/**
 * 技能标签列表适配器
 */
class ServiceLabelAdapter(data: MutableList<String>):
    BaseBindingQuickAdapter<String, ItemServiceSkillLabelBinding>(data) {

    override fun onBindViewHolder(holder: BaseBindingHolder, position: Int, item: String?) {
        val binding = ItemServiceSkillLabelBinding.bind(holder.itemView)
        binding.tvService.text = item
    }
}